// 在 router 中新建一个dynamicRoutes 这个文件用于定义需要被动态添加的路由
import allRoutes from "./allRoutes"
export default [ //需要鉴权的页面
  {
    path: "*",
    component: () => import(/*webpackChunkName:'home'*/ '../pages/Page404'),
    name: "page404",
  },
  {
    path: "/",
    component: () => import(/*webpackChunkName:'home'*/ '../pages/Home'),
    name: "home",
  },
]